package com.example.demo.admin.hystrix;/**
 * Created by kete on 2018-09-03.
 */

import com.example.demo.admin.client.TestServiceClient;
import com.example.demo.common.persistence.model.User;
import org.springframework.stereotype.Component;

/**
 * 作者：kete
 * 创建时间：2018-09-03 10:06
 * 功能描述：
 * 版本：
 */
@Component
public class TestServiceHystrix implements TestServiceClient {

    @Override
    public User getUserInfo() {
        User user = new User();
        user.setName("not found");
        return user;
    }
}
